Skip to content

Conversation

FloEdelmann
Copy link
Member

See https://ajv.js.org/json-schema.html#oneof:

The data is valid if it matches exactly one JSON Schema from this array.

See https://ajv.js.org/json-schema.html#anyof:

The data is valid if it is valid according to one or more JSON Schemas in this array.

Copy link
Member

@waynzh waynzh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks

@waynzh waynzh merged commit 9d8f2de into master Jan 5, 2025
18 checks passed
@waynzh waynzh deleted the any-of-one-of branch January 5, 2025 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants